[INFO] cloning repository https://github.com/MindFlavor/pusheventhub
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MindFlavor/pusheventhub" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMindFlavor%2Fpusheventhub", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMindFlavor%2Fpusheventhub'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a86bbbb3306e33fb356a2d40d7ed865a404020d9
[INFO] testing MindFlavor/pusheventhub against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMindFlavor%2Fpusheventhub" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/MindFlavor/pusheventhub on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/MindFlavor/pusheventhub
[INFO] finished tweaking git repo https://github.com/MindFlavor/pusheventhub
[INFO] tweaked toml for git repo https://github.com/MindFlavor/pusheventhub written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/MindFlavor/pusheventhub already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ef7631010266902e842d06a104f2465af852865b4d6e46b4a12941436ff96e16
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ef7631010266902e842d06a104f2465af852865b4d6e46b4a12941436ff96e16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ef7631010266902e842d06a104f2465af852865b4d6e46b4a12941436ff96e16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef7631010266902e842d06a104f2465af852865b4d6e46b4a12941436ff96e16", kill_on_drop: false }`
[INFO] [stdout] ef7631010266902e842d06a104f2465af852865b4d6e46b4a12941436ff96e16
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 4b154f8456759959341736547382c33eaaab27f3505e2425a641aa7961c2941f
[INFO] running `Command { std: "docker" "start" "-a" "4b154f8456759959341736547382c33eaaab27f3505e2425a641aa7961c2941f", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling futures-core v0.3.14
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling futures-task v0.3.14
[INFO] [stderr]    Compiling httpdate v1.0.0
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling tokio v1.5.0
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling time v0.2.26
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling tracing-core v0.1.18
[INFO] [stderr]    Compiling unicode-bidi v0.3.5
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling futures-channel v0.3.14
[INFO] [stderr]    Compiling futures-util v0.3.14
[INFO] [stderr]    Compiling http-body v0.4.1
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling tracing v0.1.26
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling url v2.2.1
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling regex v1.5.3
[INFO] [stderr]    Compiling env_logger v0.8.3
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.0.7
[INFO] [stderr]    Compiling time-macros v0.1.1
[INFO] [stderr]    Compiling pin-project v1.0.7
[INFO] [stderr]    Compiling hyper v0.14.7
[INFO] [stderr]    Compiling pusheventhub v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `hyper::status`
[INFO] [stdout]  --> src/azure_error.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use hyper::status::StatusCode;
[INFO] [stdout]   |            ^^^^^^ could not find `status` in `hyper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `hyper::header::Headers`, `hyper::header::ContentLength`
[INFO] [stdout]   --> src/main.rs:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 | use hyper::header::{Headers, ContentLength};
[INFO] [stdout]    |                     ^^^^^^^  ^^^^^^^^^^^^^ no `ContentLength` in `header`
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     no `Headers` in `header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `hyper::status`
[INFO] [stdout]   --> src/main.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | use hyper::status::StatusCode;
[INFO] [stdout]    |            ^^^^^^ could not find `status` in `hyper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `url::percent_encoding`
[INFO] [stdout]   --> src/main.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 | use url::percent_encoding::{utf8_percent_encode, HTTP_VALUE_ENCODE_SET, FORM_URLENCODED_ENCODE_SET};
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^ could not find `percent_encoding` in `url`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `header` in this scope
[INFO] [stdout]   --> src/main.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | header! { (Authorization, "Authorization") => [String] }
[INFO] [stdout]    | ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper`
[INFO] [stdout]   --> src/main.rs:61:25
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let client = hyper::client::Client::new();
[INFO] [stdout]    |                         ^^^^^^ could not find `client` in `hyper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `UTC` in `chrono`
[INFO] [stdout]   --> src/main.rs:86:26
[INFO] [stdout]    |
[INFO] [stdout] 86 |     let expiry = chrono::UTC::now().add(ttl).timestamp();
[INFO] [stdout]    |                          ^^^ could not find `UTC` in `chrono`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Authorization` in this scope
[INFO] [stdout]   --> src/main.rs:63:17
[INFO] [stdout]    |
[INFO] [stdout] 63 |     headers.set(Authorization(sas));
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `hyper`
[INFO] [stdout]   --> src/main.rs:67:31
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let body = hyper::client::Body::SizedBody(event_body.0, event_body.1);
[INFO] [stdout]    |                               ^^^^ not found in `hyper::client`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 13 | use hyper::Body;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `error` is private
[INFO] [stdout]   --> src/azure_error.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout] 5  | use hyper::error::Error as HyperError;
[INFO] [stdout]    |            ^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `error` is defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.14.7/src/lib.rs:82:1
[INFO] [stdout]    |
[INFO] [stdout] 82 | mod error;
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:51:15
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let url = try!(url::Url::parse(&url));
[INFO] [stdout]    |               ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:70:24
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let mut response = try!(client.post(url).body(body).headers(headers).send());
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |         try!(response.read_to_string(&mut resp_s));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:43:39
[INFO] [stdout]    |
[INFO] [stdout] 43 |                     event_body: (&mut Read, u64),
[INFO] [stdout]    |                                       ^^^^ help: use `dyn`: `dyn Read`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope
[INFO] [stdout]    --> src/main.rs:111:24
[INFO] [stdout]     |
[INFO] [stdout] 111 |     env_logger::init().unwrap();
[INFO] [stdout]     |                        ^^^^^^ method not found in `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Add`
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::ops::Add;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pusheventhub`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "4b154f8456759959341736547382c33eaaab27f3505e2425a641aa7961c2941f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4b154f8456759959341736547382c33eaaab27f3505e2425a641aa7961c2941f", kill_on_drop: false }`
[INFO] [stdout] 4b154f8456759959341736547382c33eaaab27f3505e2425a641aa7961c2941f
